//
//  DHTwoViewController.m
//  DHWeibo
//
//  Created by donghai on 15/12/6.
//  Copyright © 2015年 东海. All rights reserved.
//

#import "DHTwoViewController.h"
#import "DHThreeViewController.h"


@interface DHTwoViewController ()

@end

@implementation DHTwoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UIBarButtonItem *item = [UIBarButtonItem appearance];
    item.tintColor = [UIColor orangeColor];
    
    self.title = @"two";
    self.view.backgroundColor = [UIColor whiteColor];
    NSString *backTitle = @"首页";
}
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    DHThreeViewController *threeVc = [[DHThreeViewController alloc] init];
    [self.navigationController pushViewController:threeVc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
